<?php /* Smarty version 2.6.18, created on 2009-05-07 07:18:32
         compiled from ua-admin/adzone_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'ua-admin/adzone_index.html', 32, false),array('modifier', 'cat', 'ua-admin/adzone_index.html', 48, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/mixselect.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;广告位置管理</div></td></tr>
</table>
<br />
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input type="checkbox" name="idAll" onClick="uaCheckAll(this, 'id[]')" title="全选"></td>
<td>位置名称</td>
<td>价位</td>
<td>宽</td>
<td>高</td>
<td>调用代码</td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<?php $_from = $this->_tpl_vars['Lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['myadzones'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['myadzones']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['a']):
        $this->_foreach['myadzones']['iteration']++;
?>
<tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#eeeeee,#ffffff"), $this);?>
" align="center">
<td><input type="checkbox" name="id[]" value="<?php echo $this->_tpl_vars['a']['id']; ?>
" onClick="uaCheckItem(this, 'idAll')" id="id_<?php echo $this->_tpl_vars['a']['id']; ?>
"></td>
<td><label for="id_<?php echo $this->_tpl_vars['a']['id']; ?>
"><?php echo $this->_tpl_vars['a']['name']; ?>
</label></td>
<td><?php echo $this->_tpl_vars['a']['price']; ?>
</td>
<td><?php echo $this->_tpl_vars['a']['width']; ?>
</td>
<td><?php echo $this->_tpl_vars['a']['height']; ?>
</td>
<td><a href="<?php echo $_SERVER['PHP_SELF']; ?>
?action=makejs&id=<?php echo $this->_tpl_vars['a']['id']; ?>
" title="生成JS代码"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/js.gif" border="0" /></a></td>
<td><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
<?php echo $this->_tpl_vars['a']['file_name']; ?>
#ad_<?php echo $this->_tpl_vars['a']['id']; ?>
" title="点击预览" target="_blank"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/preview.gif" border="0" /></a>&nbsp;<a href="<?php echo $_SERVER['PHP_SELF']; ?>
?action=mod&id=<?php echo $this->_tpl_vars['a']['id']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/mod.gif" border="0" alt="修改"></a></td>
</tr>
<?php endforeach; else: ?>
<tr bgcolor="#ffffff">
<td colspan="8" align="center"><strong>目前没有任何数据</strong></td>
</tr>
<?php endif; unset($_from); ?>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="8"><?php echo ((is_array($_tmp=$this->_tpl_vars['PageHeader'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['ByPages']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['ByPages'])); ?>
</td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="5"><input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="del" value="删除" onClick="return confirmAction('确定删除吗?');"></td>
<td>&nbsp;</td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!-- 快速添加 -->
<form name="quickaddfrm" action="" method="post">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
<tr class="header"><td colspan="4"><div align="left">快速添加</div></td></tr>
<tr>
	<td width="9%"><div align="right">名称:</div></td>
	<td width="15%"><input name="adzone[name]" type="text" id="adzone_name"></td>
	<td width="10%">&nbsp;</td>
    <td><input name="save" type="submit" id="save" value="添加" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
    </tr>
</table>
</form>
<!-- 结束new -->
</body>
</html>